//
//  ItemView.h
//  VietQuan
//
//  Created by Vinh Huynh on 11/13/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>

@protocol ItemViewDelegate;

@class Item;

@interface ItemView : UIView{
	UIImageView *thumbnailImage;
	UIImageView *bgTextsImage;
	UILabel *titleLabel;
	UILabel *summaryLabel;
	id<ItemViewDelegate> viewDelegate;
	Item *item;
}

@property (nonatomic, retain) IBOutlet UIImageView *thumbnailImage;
@property (nonatomic, retain) IBOutlet UIImageView *bgTextsImage;
@property (nonatomic, retain) IBOutlet UILabel *titleLabel;
@property (nonatomic, retain) IBOutlet UILabel *summaryLabel;
@property (nonatomic, assign) id<ItemViewDelegate> viewDelegate;
@property (assign) Item *item;

@end

@protocol ItemViewDelegate

-(void) touchMe:(ItemView *)itemViewController;

@end

